﻿{extend name="public:base" /}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox search-form">
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2 m-b-xs">
                            <input placeholder="请输入姓名" type="text" name="username" value="{:input('username')}" class="form-control form-control-sm">
                        </div>
                        <div class="col-sm-2 m-b-xs">
                            <input placeholder="请输入手机号" type="text" name="mobile" value="{:input('mobile')}" class="form-control form-control-sm">
                        </div>
                        <div class="col-sm-2 m-b-sm">
                            <div class="input-group">
                                <button type="button" class="btn btn-primary btn-lg screen-btn">搜索</button>
                            </div>
                        </div>
                    </div>
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>姓名</th>
                                <th>手机号</th>
                                <th>提现金额</th>
                                <th>审核状态</th>
                                <th>申请时间</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="list" id="vo"}
                            <tr>
                                <td>{$vo.username}</td>
                                <td>{$vo.mobile}</td>
                                <td>{$vo.profit}</td>
                                <td>{$vo.status_desc}</td>
                                <td>{$vo.create_time|timeFormat}</td>
                                <td class="project-actions">
                                    {if $vo.status == 1}
                                    <a href="{:url('withdrawSuccess', ['id' => $vo.id])}" class="btn btn-white btn-sm ajax-operate"><i class="iconfont icon-success"></i> 通过
                                    </a>
                                    <a href="{:url('withdrawRefuse', ['id' => $vo.id])}" class="btn btn-white btn-sm ajax-operate"><i class="iconfont icon-refuse"></i> 驳回
                                    </a>
                                    {/if}
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                        {if !empty($list)}{$list->render()}{/if}
                    </div>

                </div>
            </div>
        </div>

    </div>
</div>

{/block}

